Skip to content

tls.Client: don't read if we don't need more data #15179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2023

Conversation

truemedian
Copy link
Contributor

This fixes #15029.

@haze
Copy link
Contributor

haze commented Apr 7, 2023

This also fixes an odd crash for me on macOS. I get an EINVAL when attempting to download an image through HTTPS.

@andrewrk andrewrk enabled auto-merge (rebase) April 7, 2023 21:16
@andrewrk andrewrk merged commit fde05b1 into ziglang:master Apr 8, 2023
@truemedian truemedian deleted the tls-timeout-bug branch April 13, 2023 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slow requests via std.http.Client when using TLS
3 participants